import time

from selenium import webdriver
driver = webdriver.Chrome()
driver.get("http://121.43.169.97:8848/pageA.html")
# 放大浏览器页面
driver.maximize_window()
time.sleep(3)

# css定位，标签option属性值value定位
# 下拉框（上海）
driver.find_element_by_css_selector("[value='sh']").click()
time.sleep(3)

# 下拉框（上海）
driver.find_element_by_css_selector('[value="sz"]').click()
time.sleep(3)

driver.quit()
